﻿using Maui.App.Services;

namespace Maui.App.ViewModels;

public partial class MainViewModel : BaseViewModel
{
    INavigationService _navigationService;
    public MainViewModel(INavigationService navigationService)
    {
        _navigationService = navigationService;

        tabMViewModel = new TabMViewModel(_navigationService);
    }
    [ObservableProperty]
    private int selectedViewModelIndex=0;
    [ObservableProperty]
    TabMViewModel tabMViewModel;
}
